package com.smart.manager.product.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.product.entities.enums.ProfileStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 游戏管理  零食档案
 * @author leo
 * @date  2023/09/19
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Accessors(chain = true)
@Table(name = "product_props_snacks")
public class PropsSnacks extends BaseLongModel {

    @ApiModelProperty("零食代码")
    private String code;

    @ApiModelProperty("零食名称")
    private String name;

    @ApiModelProperty("兑换能量")
    private Integer energy;

    @ApiModelProperty("零食图标")
    private String icon;

    @ApiModelProperty("配比重量(克)")
    private Integer weight;

    @ApiModelProperty("零食状态")
    private ProfileStatus status;

    @ApiModelProperty("零食描述")
    private String description;

    @ApiModelProperty("显示排序")
    private Integer sort;

}
